package view.wizard;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

import view.MVCComponent;

public class Main extends MIDlet {

	public Main() {
		
	}

	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
		
	}

	protected void pauseApp() {
		
	}

	protected void startApp() throws MIDletStateChangeException {
		MVCComponent.display = Display.getDisplay(this);
		
		WizardEngine wzrEngine = new WizardEngine();
		
		wzrEngine.addWizardView(new Wiz0());
		wzrEngine.addWizardView(new Wiz1());
		wzrEngine.addWizardView(new Wiz2());
		
		wzrEngine.startWizard();
		
	}

}